using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Konst3d.Efficiency.Suite;

namespace DevUI
{
    public partial class CreateTaskDialog : Form
    {
        public DateTime TaskDeadLine
        {
            get
            {
                return uiTaskDeadLineCalendar.SelectionStart;
            }
        }

        public TaskSeverity TaskSeverity
        {
            get
            {
                return (TaskSeverity)uiTaskSeverityComboBox.SelectedIndex;
            }
        }

        public string TaskTitle
        {
            get
            {
                return uiTaskTitleTextBox.Text;
            }
        }

        public string TaskDescription
        {
            get
            {
                return uiTaskDescriptionTextBox.Text;
            }
        }

        public CreateTaskDialog()
        {
            InitializeComponent();
        }

        private void uiOkButton_Click(object sender, EventArgs e)
        {
            DialogResult = System.Windows.Forms.DialogResult.OK;
        }
    }
}
